package yun.web.test.pgmodel._public.base;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import yun.web.activerecord.Model;
import yun.web.activerecord.IBean;

/**
 * 由JFinal 自动生成, 最好别动这个文件, 想扩展请去子类玩~
 */
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseTsvSong<M extends BaseTsvSong<M>> extends Model<M> implements IBean {
    public static String table_name = "t_tsv_song";

	//
	public M setId(Long id) {
		set("id", id);
		return (M)this;
	}


	//
	@JSONField(name="id")
	public Long getId() {
	    return getLong("id");
	}

	//
	public M setName(String name) {
		set("name", name);
		return (M)this;
	}


	//
	@JSONField(name="name")
	public String getName() {
	    return getStr("name");
	}

	//
	public M setAuthor(String author) {
		set("author", author);
		return (M)this;
	}


	//
	@JSONField(name="author")
	public String getAuthor() {
	    return getStr("author");
	}

	//
	public M setCoverImg(String coverImg) {
		set("cover_img", coverImg);
		return (M)this;
	}


	//
	@JSONField(name="cover_img")
	public String getCoverImg() {
	    return getStr("cover_img");
	}

	//
	public M setSongid(Integer songid) {
		set("songid", songid);
		return (M)this;
	}


	//
	@JSONField(name="songid")
	public Integer getSongid() {
	    return getInt("songid");
	}

}